<?php

class HTML_Fluent_Text extends HTML_Fluent_Node {

    protected $string;

    public function __construct($string) {
        $this->setString($string);
    }

    public function setString($string) {
        $this->string = (string)$string;
    }

    public function getString() {
        return $this->string;
    }

    public function  __toString() {
        return $this->string;
    }
}
